package com.example.elemboot.Dao;

import com.example.elemboot.Entity.DeliveryAddress;
import com.example.elemboot.Entity.User;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface IDeliveryAddress extends CrudRepository<DeliveryAddress,Integer> {
    List<DeliveryAddress> findDeliveryAddressesByUser(User user);
}
